package com.lmm.lcbusiness.lcbusiness;

import java.io.Serializable;

/**
 * Created by xmgong on 2017/8/29.
 * LMM 通用数据解析类
 */

public class BaseReturnInfo<T> implements Serializable {
    public boolean success;
    public T data;
    private String md5;
    String message;
    Object error;

    public Object getError() {
        return error;
    }

    public void setError(Object error) {
        this.error = error;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
